package com.efast.dmom.equipment.entity;

import javax.persistence.Column;
import java.io.Serializable;
import java.util.Date;

/**
 * @Description  
Table ( name ="equip_spare" ) 
 * @Author  zhangchenghao
 * @Date 2019-08-15 
 */

public class EquipSpare  implements Serializable {

	private static final long serialVersionUID =  975185694222266283L;

	/**
	 * 主键
	 */
   	@Column(name = "id" )
	private Integer id;

	/**
	 * 备件类型
	 */
   	@Column(name = "category" )
	private String category;

	/**
	 * 备件编号
	 */
   	@Column(name = "code" )
	private String code;

	/**
	 * 备件名称
	 */
   	@Column(name = "name" )
	private String name;

	/**
	 * 备件规格
	 */
   	@Column(name = "specifications" )
	private String specifications;

	/**
	 * 计量单位
	 */
   	@Column(name = "unit" )
	private String unit;

	/**
	 * 生产厂商
	 */
   	@Column(name = "manufacturer" )
	private String manufacturer;

	/**
	 * 库存上线
	 */
   	@Column(name = "upper_bound" )
	private Integer upperBound;

	/**
	 * 库存下线
	 */
   	@Column(name = "low_bound" )
	private Integer lowBound;

	/**
	 * 当前库存
	 */
   	@Column(name = "inventory" )
	private Integer inventory;

	/**
	 * 总库存
	 */
   	@Column(name = "total_inventory" )
	private Integer totalInventory;

	/**
	 * 备注
	 */
   	@Column(name = "remark" )
	private String remark;

	/**
	 * 更新时间
	 */
   	@Column(name = "last_update_time" )
	private Date lastUpdateTime;

	/**
	 * 更新用户
	 */
   	@Column(name = "last_update_user" )
	private String lastUpdateUser;

	/**
	 * 企业代码
	 */
   	@Column(name = "company_code" )
	private String companyCode;

	/**
	 * 创建时间
	 */
   	@Column(name = "create_time" )
	private Date createTime;

	/**
	 * 创建用户
	 */
   	@Column(name = "create_user" )
	private String createUser;

	/**
	 * 逻辑删除
	 */
   	@Column(name = "is_deleted" )
	private Integer isDeleted;

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCategory() {
		return this.category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSpecifications() {
		return this.specifications;
	}

	public void setSpecifications(String specifications) {
		this.specifications = specifications;
	}

	public String getUnit() {
		return this.unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public String getManufacturer() {
		return this.manufacturer;
	}

	public void setManufacturer(String manufacturer) {
		this.manufacturer = manufacturer;
	}

	public Integer getUpperBound() {
		return this.upperBound;
	}

	public void setUpperBound(Integer upperBound) {
		this.upperBound = upperBound;
	}

	public Integer getLowBound() {
		return this.lowBound;
	}

	public void setLowBound(Integer lowBound) {
		this.lowBound = lowBound;
	}

	public Integer getInventory() {
		return this.inventory;
	}

	public void setInventory(Integer inventory) {
		this.inventory = inventory;
	}

	public Integer getTotalInventory() {
		return this.totalInventory;
	}

	public void setTotalInventory(Integer totalInventory) {
		this.totalInventory = totalInventory;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getLastUpdateTime() {
		return this.lastUpdateTime;
	}

	public void setLastUpdateTime(Date lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

	public String getLastUpdateUser() {
		return this.lastUpdateUser;
	}

	public void setLastUpdateUser(String lastUpdateUser) {
		this.lastUpdateUser = lastUpdateUser;
	}

	public String getCompanyCode() {
		return this.companyCode;
	}

	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreateUser() {
		return this.createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public Integer getIsDeleted() {
		return this.isDeleted;
	}

	public void setIsDeleted(Integer isDeleted) {
		this.isDeleted = isDeleted;
	}

}
